//
// Created by 21126 on 2023/5/19.
//

#ifndef CLION_TEST_U2_S1_H
#define CLION_TEST_U2_S1_H

#include "U2_i2c.h"

#define	SYSTEM_ON_S1		0x21
#define	KEY_BASE		    0x40	// start address where ht16k33 read for keyboard

i2c_addr_def u2_s1_init(int fd);
int u2_key_trans(i2c_addr_def KEY_addr, unsigned char *key);//Translation from Array to Key number
#endif //CLION_TEST_U2_S1_H
